//
//  RKLoginViewController.m
//  myIM
//
//  Created by Evan on 13-2-13.
//  Copyright (c) 2013年 Evan. All rights reserved.
//

#import "RKLoginViewController.h"
#import "RKMainViewController.h"

@interface RKLoginViewController ()

@end

@implementation RKLoginViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
        
    }
    return self;
}

- (void)viewDidLoad
{
    [self.navigationController.navigationBar setHidden:YES];
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)LoginBtn:(id)sender {
    RKMainViewController *mvCtr =[[RKMainViewController alloc]initWithNibName:@"RKMainViewController" bundle:nil];
    [[NSNotificationCenter defaultCenter] postNotificationName:@"PUSHCONTROLLER" object:mvCtr];
    [mvCtr release];
}
@end
